package com.gf.common.staticer;

import javax.annotation.PostConstruct;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.gf.user.service.UserBaseService;


/**
 * "关于我们" 内容
 * 
 * @author zhuguifeng guifeng.net@gmail.com
 * @version 创建时间：2013-6-16 下午7:15:09
 */
@Component
public class AboutContentHelper {

	@Autowired
	private UserBaseService userBaseService;

	private static String content = "";

	@PostConstruct
	private void init() {
		try {
			content = userBaseService.getAboutContent();
		} catch (Exception e) {
			content = null;
		}
	}

	public static String getContent() {
		return content;
	}

	public static void setContent(String content) {
		AboutContentHelper.content = content;
	}

}
